﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using static ConsoleApp1.Class1;

namespace ConsoleApp1
{
    class Program
    {
        static void Main(string[] args)
        {
            Facel facel = new Facel();
            facel.Id = 1;
            facel.Name = "小明";
            facel.Math = 77;
            facel.Count = 88;
            Console.WriteLine("学号："+facel.Id);
            Console.WriteLine("名字："+facel.Name);
            facel.Avg();//隐式实现
            Facel face = new Facel();//显示实现
            face.Math = 66;
            face.Count = 55;
            face.Avg();
        }
    
    }
}
